﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Juzzbott.Ulib;

namespace Juzzbott.Ulib.Web
{
	public class UmbracoControl : System.Web.UI.UserControl
	{

		/// <summary>
		/// Gets the current node.
		/// </summary>
		public UmbracoNode CurrentNode
		{
			get
			{
				return UmbracoNode.GetNode(umbraco.NodeFactory.Node.GetCurrent());
			}
		}

	}
}
